package com.itheima.demo4synchronize_code;

public class threadDemo1 extends Thread
{
    private count c ;
    public threadDemo1(String  name, count c)
    {
        super(name);
        this.c = c;
    }
    @Override
    public void run()
    {
        c.drawmoney(100000);
    }

}
